
<?php
    $this->setLayout('layout'.DS.'center.phtml');
    $this->startBlock();
    $model = $this->model;
?>
<script language="javascript" type="text/javascript">
$(function(){
    $("#birth").attr("readonly", "true").datepicker();
    $('#updateinformation_form').validate({
        rules:{
            email:{required:true,email:true},
            qq:{digits:true,maxlength:10}
        }
    });
});
</script>
<!-- 会员注册 -->
<div class="public_width userreg">
    <form id="updateinformation_form" action="<?php echo $this->getUrl(NULL,'updateInformationPost')?>" method="post" enctype="multipart/form-data">
        <h2>个人资料</h2>
<!--        <ul><label>头像照片: </label><img id ="img" alt="" width="100" height="100" src="<?php echo $model->getPicture()?>"/><input type="file" id="file" name="file" size="20" value=""/></ul>-->
        <ul><label>真实姓名: </label><input type="text" id="full_name" name="full_name" maxlength="30" size="20" value="<?php echo $model->getFullName()?>"/></ul>
        <ul><label>QQ 号 码: </label><input type="text" id="qq" name="qq" maxlength="30" size="20" value="<?php echo $model->getqq()?>"/></ul>
        <ul><label>邮箱地址: </label><input type="text" id="email" name="email"  maxlength="30" size="20" value="<?php echo $model->getEmail()?>"/></ul>
        <ul><label>出生日期: </label><input type="text" id="birth" name="birth"  maxlength="30" size="20" value="<?php echo $model->getBirth()?>"/></ul>
        <ul><label>家庭地址: </label><input type="text" id="address" name="address"  maxlength="30" size="20" value="<?php echo $model->getAddress()?>"/></ul>
        <ul><label>验 证 码: </label><input type="text" name="validatecode" id="validatecode" maxlength="20" size="20" /><?php echo $this->validateCodeImage()?></ul>
        <ul><label>&nbsp;</label><input type="hidden" name="check" value="yes" /><button class="button" type="submit">提交</button></ul>
    </form>
</div>

<?php $this->endBlock();?>



